//
//  WCTChatroom.h
//  WeChatTool
//
//  Created by TerryChe on 2016/12/5.
//  Copyright © 2016年 TerryChe. All rights reserved.
//

#import <Foundation/Foundation.h>

static NSString* str_chatroow_name = @"ad_chatroom_name";
static NSString* str_chatroow_memberList = @"ad_chatroom_memberlist";
static NSString* str_chatroow_displayName = @"ad_chatroom_displayname";
static NSString* str_chatroow_selfDisplayName = @"ad_chatroom_selfDisplayName";
static NSString* str_chatroow_isShowname = @"ad_chatroom_isShowname";
static NSString* str_chatroow_nober = @"ad_wechat_nober";

@interface WCTChatroom : NSObject

//群名称
@property (nonatomic, strong) NSString* name;

//所有微信号
@property (nonatomic, strong) NSString* memberList;

//所有微信号名字
@property (nonatomic, strong) NSString* displayName;

//你的名字
@property (nonatomic, strong) NSString* selfDisplayName;

//显示的名称
@property (nonatomic, assign) NSInteger isShowname;

//您的微信号
@property (nonatomic, strong) NSString* nober;

+ (instancetype)WCTChatroomByName:(NSString *)name
                       MemberList:(NSString *)memberList
                      DisplayName:(NSString *)displayName
                  SelfDisplayName:(NSString *)selfDisplayName
                       IsShowname:(NSInteger)isShowname
                            Nober:(NSString *)nober;

+ (instancetype)WCTChatroomByDic:(NSDictionary *)dic;

- (NSDictionary *)convertToDic;

@end
